package com.lk.lkappearance.service.impl;

import com.lk.lkappearance.common.AbstractBaseService;
import com.lk.lkappearance.mapper.LoginLogMapper;
import com.lk.lkappearance.model.LoginLog;
import com.lk.lkappearance.service.LoginLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Map;


@Service
public class LoginLogServiceImpl extends AbstractBaseService implements LoginLogService {

    @Autowired
    private LoginLogMapper loginLogMapper;

    @Override
    public Map<String, Object> getList(LoginLog loginLog) {
        try {
            loginLogMapper.getList(loginLog);
        }catch (Exception e) {
            e.printStackTrace();
        }
        return success().getResult();
    }
}
